package com.ekingwin.www.esb.HNYG_048_SAP_PR_PP_0_ProScrapService;

public class HNYG048_SAPPR_PP_0_ProScrapService_pttProxy implements com.ekingwin.www.esb.HNYG_048_SAP_PR_PP_0_ProScrapService.HNYG048_SAPPR_PP_0_ProScrapService_ptt {
  private String _endpoint = null;
  private com.ekingwin.www.esb.HNYG_048_SAP_PR_PP_0_ProScrapService.HNYG048_SAPPR_PP_0_ProScrapService_ptt hNYG048_SAPPR_PP_0_ProScrapService_ptt = null;
  
  public HNYG048_SAPPR_PP_0_ProScrapService_pttProxy() {
    _initHNYG048_SAPPR_PP_0_ProScrapService_pttProxy();
  }
  
  public HNYG048_SAPPR_PP_0_ProScrapService_pttProxy(String endpoint) {
    _endpoint = endpoint;
    _initHNYG048_SAPPR_PP_0_ProScrapService_pttProxy();
  }
  
  private void _initHNYG048_SAPPR_PP_0_ProScrapService_pttProxy() {
    try {
      hNYG048_SAPPR_PP_0_ProScrapService_ptt = (new com.ekingwin.www.esb.HNYG_048_SAP_PR_PP_0_ProScrapService.HNYG048_SAPPR_PP_0_ProScrapService_pttBindingQSServiceLocator()).getHNYG048_SAPPR_PP_0_ProScrapService_pttBindingQSPort();
      if (hNYG048_SAPPR_PP_0_ProScrapService_ptt != null) {
        if (_endpoint != null)
          ((javax.xml.rpc.Stub)hNYG048_SAPPR_PP_0_ProScrapService_ptt)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
        else
          _endpoint = (String)((javax.xml.rpc.Stub)hNYG048_SAPPR_PP_0_ProScrapService_ptt)._getProperty("javax.xml.rpc.service.endpoint.address");
      }
      
    }
    catch (javax.xml.rpc.ServiceException serviceException) {}
  }
  
  public String getEndpoint() {
    return _endpoint;
  }
  
  public void setEndpoint(String endpoint) {
    _endpoint = endpoint;
    if (hNYG048_SAPPR_PP_0_ProScrapService_ptt != null)
      ((javax.xml.rpc.Stub)hNYG048_SAPPR_PP_0_ProScrapService_ptt)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
    
  }
  
  public com.ekingwin.www.esb.HNYG_048_SAP_PR_PP_0_ProScrapService.HNYG048_SAPPR_PP_0_ProScrapService_ptt getHNYG048_SAPPR_PP_0_ProScrapService_ptt() {
    if (hNYG048_SAPPR_PP_0_ProScrapService_ptt == null)
      _initHNYG048_SAPPR_PP_0_ProScrapService_pttProxy();
    return hNYG048_SAPPR_PP_0_ProScrapService_ptt;
  }
  
  public void HNYG048_SAPPR_PP_0_ProScrapService(java.lang.String data, javax.xml.rpc.holders.StringHolder SIGN, javax.xml.rpc.holders.StringHolder message) throws java.rmi.RemoteException, com.ekingwin.www.esb.HNYG_048_SAP_PR_PP_0_ProScrapService.QueryFault{
    if (hNYG048_SAPPR_PP_0_ProScrapService_ptt == null)
      _initHNYG048_SAPPR_PP_0_ProScrapService_pttProxy();
    hNYG048_SAPPR_PP_0_ProScrapService_ptt.HNYG048_SAPPR_PP_0_ProScrapService(data, SIGN, message);
  }
  
  
}